package com.dr.common;

public class ValueUtil {
	//判断字符串为空
	public static boolean isEmpty(String str) {
		if(str==null || "".equals(str)) {
			return true;
		}
		return false;
	}
	
	public static boolean isEmpty(Object obj) {
		if(obj==null) {
			return true;
		}
		return false;
	}
	
	//判断不为空
	public static boolean isNotEmpty(String str) {
		return !isEmpty(str);
	}
}